* {
            margin: 0;
            padding: 0;
}

a{ 
    text-decoration: none!important;
    font-size: 14px;
}
a:hover{
    text-decoration: none!important;
}
ul>li {
    list-style: none;
}
/* 头部开始 */
header {
    margin: auto;
    width: 1200px;
}
.headerTop{
    /* overflow: hidden; */
    width: 100%;
    height: 81px;
    /* background-color: #00cf8c; */
}
/* logo */
.headerTop>img{
    width: 179.19px;
    height: 55px;
    float: left;
    margin: 22px 38px  0 0 ;;
}
/* 课程分类开始 */
#nav {
    float: left;
    width: 296px;
    position: relative;
    /* overflow: hidden; */

}
#courseId {
    position: absolute;
    background-color: white;
    top: 40px;
    left: 60px;
    padding: 0;
    width: 136px;
    font-size: 14px;
    display: none;
    box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
    z-index: 10;
}
#courseId>li {
    padding: 5px 12px;
}
#courseId>li>a {
    display: block;
    width: 100%;
    height: 100%;
    color: rgba(0, 0, 0, .65);
}
#courseId>li>a:visited{
    color: rgba(0, 0, 0, .65);
}
#courseId>li:hover {
    cursor: pointer;
    background-color: #e6fff3;
}
#courseId>li:hover>a{
color: #00cf8c!important;
}
#nav{
    margin-top: 30px;
}
#nav>li {
    padding: 10px 30px 10px 0;
    float: left;
}
#nav>li>a{
    color: #00cf8c;
    font-size: 16px!important;
    color: black;
}
#nav>li:nth-child(1){
    position: relative;
}
#nav>li:nth-child(1)>a{
    box-sizing: border-box;
    color: #00cf8c;
}
#nav>li:hover>a{
    color: #00cf8c;
    cursor: pointer;
}
/* 课程分类结束 */
/* 搜索 */
.searchText{
    float: left;
    margin-top: 30px;
}
.headerTop input{
    font-size: 16px;
    line-height: 19px;
    float: left;
    width: 317px;
    height: 38px;
    border-radius: 19px 0 0 19px;
    padding: 6px 11px;
    outline: none;
    outline-color: #00cf8c;
    box-sizing: border-box;
    border: 1px solid #ddd;
}
.headerTop button{
    float: left;
    font-size: 16px;
    line-height: 19px;
    box-sizing: border-box;
    background-color: #00cf8c;
    outline: none ;
    border: none;
    padding: 0 15px;
    width: 83px;
    height: 38px;
    border-radius: 0 19px 19px 0;
    color: white;
}
.icon-fangdajing:hover{
    color: white!important;
}
/* 搜索结束 */
/* 头部结束 */
/* 内容部分开始 */
main{
    padding-bottom: 20px;
    background-color: #eee;
}
main>header{
    color: #888;
    padding: 12px 0;
    margin: auto;
    width: 1200px;
}
main>header a {
    font-size: 14px!important;
    color: #888;
}
main>header a:hover{
    color: #0fc490;
}
main>main{
    position: relative;
    overflow: hidden;
    padding: 20px;
    height: 271px;
    margin: auto;
    width: 1200px;
    background-color: white;
}
main>main>img{
    display: block;
    float: left;
    width: 330px;
    height:220px
}
main>main>button{
    position: absolute;
    font-size: 16px;
    border: 0;
    background-color: white;
    border: 1px solid #999;
    color: #999;
    outline: none;
    top: 30px;
    right: 32px;
    width: 110px;
    height: 30px;
}
main>main>section{
    padding: 20px 25px 0 60px;
    float: left;
    width: 770px;
    height: 220px;
    box-sizing: border-box;
}
.title{
    overflow: hidden;
    font-size: 24px;
    margin-bottom: 14px;
}
.title>li{
    padding-right: 20px;
    float: left;
}
.classList{
    padding-bottom: 30px!important;
    display: none;
}
.comments{
    display: none;
}
.people{
   color: #888;
   margin-bottom: 14px;
}
.price{
   font-size: 24px;
}
.firstBtn,
.sectionBtn{
  font-size: 18px;
  margin-top: 40px;
  border: 0;
  outline: none;
  width: 160px;
  height: 45px;
  background-color: #00cf8c;
  color: white;
}
.firstBtn{
    margin-right: 10px;
    background-color: rgb(255, 128, 0);
}
.sectionBtn:hover{
    background-color:#23db9b;
}
.sectionBtn:active{
    background-color: #00a879;
}
/* 评论部分开始 */
.addCom{
    padding: 30px 28px 50px 28px;
}
.addCom>p,
.addCom>div{
    color: #666;
}
.addCom>textarea{
    outline: none;
    box-sizing: border-box;
    padding: 5px 10px;
    color: #666;
    margin-top: 10px;
    border-color: #ccc;
}
.comments>ul{
    padding: 10px 30px;
}
.comments>ul>li{
    padding: 20px 0;
    border-top: 1px solid #ddd;
    overflow: hidden;
}
.avatar{
    float: left;
    width: 32px!important;
    height: 32px!important;
}
footer .comments .right{
    float: left;
}
.right>.name{
    margin-top: 7px;
    margin-left: 14px;
}
.right>.com{
    margin-left: 14px;
}
.right>.time{
    color: #999;
    display: block;
    margin-left: 920px;
}
.avatar>img{
    margin-top: 7px;
    margin-left: 7px;
}
/* 评论部分结束 */
/* 课程描述开始 */
.description{
    padding: 30px 0;
    color: #666;
}
.description>p{
    margin: 0;
}
/* 课程描述结束 */
/* 评论开始 */
.avatar{
    width: 26px;
    height: 26px;
}
/* 评论结束 */
main>footer{
    padding: 0 10px;
    margin: 20px auto;
    margin-bottom: 0;
    width: 1200px;
    /* height: 188px; */
    background-color: white;
}
main>footer>.title{
    padding: 0 12px;
    margin-bottom: 0!important;
    border-bottom: 1px solid #ddd;
}
main>footer>.title>li{
    margin-right: 32px;
    padding: 12px 16px;
    font-size: 14px;
    box-sizing: border-box;
    border-bottom: 2px solid transparent;
}
main>footer>.title>li:nth-child(1){
    border-bottom: 2px solid #23db9b;
}
main>footer>.title>li:hover{
    cursor: pointer;
}
/* 目录开始 */
.classList{
    padding: 0 30px;
}
.classList p{
    padding: 0 10px;
    font-weight: 500;
    font-family: BLINK;
    margin-top: 16px;
    margin-bottom: 16px;
    font-size: 22px;
}
.classList>ul{
    padding-top: 12px;
}

.classList>ul>li>ul>li{
    color: #666;
    padding: 16px;
    margin-bottom: 10px;
    background-color: #eee;
}
.classList>ul>li>ul>li:hover{
    cursor: pointer;
    color:#00cf8c
}
/* 目录结束 */
/* 评论部分结束 */
/* 内容部分结束 */
